﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Adnc.Shared.RpcServices.Rtos.Pro
{
    /// <summary>
    /// 邮费运算对象
    /// </summary>
    public class PostageCalculationRto
    {
        /// <summary>
        /// 收货地址编码
        /// </summary>
        public string AddrCode { get; set; }

        /// <summary>
        /// 商品信息
        /// </summary>
        public List<ProductInforRto> ProductInfors { get; set; }
    }

    /// <summary>
    /// 商品信息
    /// </summary>
    public class ProductInforRto 
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 商品金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int Count { get; set; }
    }
}
